import axios from 'axios'
import {
  get
} from '@/utils/request'

export const browserDebug = false
const prefix = browserDebug ? '/api' : ''

/**
 * 获取首页
 * @param {Object} params [请求的url地址]
 */
export const home = () => get(`${prefix}/home`)

/**
 * 获取签到列表接口
 */
export const signinListApi = function () {
  return axios.get(`${prefix}/user/signin`)
}
